-- stop_action
-- created by zhuangsl
-- 时间停止

return {
    fetchProps = function(who, status, condition)
        local props  = {};
        local propId = PropM.getPropId("stop_action");
        local endRound = condition["end_round"];


        table.insert(props, { propId, 1, 1, endRound, });

        return props;
    end,

    desc = function(who, status, condition)
        -- 获取状态描述
        local cfg = CombatStatusM.getStatusInfo(status);
        local desc = cfg.desc;
        
        if who.type == OBJECT_TYPE_USER then
            -- 玩家用施法者的描述
            desc = cfg.extra_desc;
        end
        
        return desc;
    end,
};
